﻿//***********************************************************************
// * Module:   TbBstDicConst.cs
// * 作者:  曹荣芝
// * Modified: 2013/5/4
// * Purpose: Definition of the Class XWG.JWBST.NetExamSPConst.TbBstDicConst
// ***********************************************************************/
using System;

namespace XWG.JWBST.JWBSTSPConst
{
    /// <summary>
    ///  
    /// </summary>
    public class TbBstDicConst
    {
        /// <summary>
        ///  表所映射的类名
        /// </summary>
        public const string MappingClassName = "TbBstDic";

        /// <summary>
        ///  表名
        /// </summary>
        public const string TableName = "TB_BST_DIC";

        /// <summary>
        ///  查询的表名或者视图名
        /// </summary>
        public const string QTableName = "V_TB_BST_DIC";

        /// <summary>
        ///  主键(惟一键)字段,可以是逗号分隔的多个字段
        /// </summary>
        public const string FieldKey = "ID";

        /// <summary>
        ///  列名
        /// </summary>
        public class Columns
        {

            /// <summary>
            ///  主键GUID
            /// </summary>
            public const string Id = "ID";

            /// <summary>
            ///  主键GUID属性名称
            /// </summary>
            public const string IdPropertyName = "Id";

            /// <summary>
            ///  字典编码
            /// </summary>
            public const string Code = "CODE";

            /// <summary>
            ///  字典编码属性名称
            /// </summary>
            public const string CodePropertyName = "Code";

            /// <summary>
            ///  字典描述
            /// </summary>
            public const string Description = "DESCRIPTION";

            /// <summary>
            ///  字典描述属性名称
            /// </summary>
            public const string DescriptionPropertyName = "Description";

            /// <summary>
            ///  字典父节点(对应DIC_COLLECT表的code字段)
            /// </summary>
            public const string Parentnode = "PARENTNODE";

            /// <summary>
            ///  字典父节点(对应DIC_COLLECT表的code字段)属性名称
            /// </summary>
            public const string ParentnodePropertyName = "Parentnode";

            /// <summary>
            ///  删除标志
            /// </summary>
            public const string Deltag = "DELTAG";

            /// <summary>
            ///  删除标志属性名称
            /// </summary>
            public const string DeltagPropertyName = "Deltag";

            /// <summary>
            ///  删除时间
            /// </summary>
            public const string Deltime = "DELTIME";

            /// <summary>
            ///  删除时间属性名称
            /// </summary>
            public const string DeltimePropertyName = "Deltime";
            /// <summary>
            ///  添加时间
            /// </summary>
            public const string Createdate = "CREATEDATE";

            /// <summary>
            ///  添加时间属性名称
            /// </summary>
            public const string CreatedatePropertyName = "Createdate";
            /// <summary>
            ///  备注
            /// </summary>
            public const string Remark = "REMARK";

            /// <summary>
            ///  备注属性名称
            /// </summary>
            public const string RemarkPropertyName = "Remark";
        }
    }
}

